package com.hn658.message.config.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;

import com.hn658.message.config.service.IBaseMessageConfig;

/**
 * 
 * 基础框架配置文件
 * @author ztjie
 * @date 2015-10-22 下午1:39:24
 * @since
 * @version
 */
public class FileBaseMessageConfig implements IBaseMessageConfig {

    protected static final Logger LOGGER = LoggerFactory.getLogger(FileBaseMessageConfig.class);

    // 消息服务平台的应用ID
    @Value("${base.message.appId}")
    private String appId;
    
    // 统一登录URL
    @Value("${base.message.loginUrl}")
    private String loginUrl;
    
    @Value("${upload.file.root}")
	private String fileRoot;

    
    
    /**
     * 获取消息服务平台的应用ID
     *
     * @return
     */
    @Override
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	@Override
	public String getLoginUrl() {
		return loginUrl;
	}

	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}

	public String getFileRoot() {
		return fileRoot;
	}

	public void setFileRoot(String fileRoot) {
		this.fileRoot = fileRoot;
	}

	
}
